package main.java.com.example.test.Mapper;

import com.example.test.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper{

    //添加用户
    int addUser(User user);

    //修改一个用户
    int updateUser(User user);

}
